package fr.imag.ufrima.ctte.gui.views;

import fr.imag.ufrima.ctte.ImagCTTE;

public class ToolsView extends View {

	public ToolsView(ImagCTTE imagCTTE) {
		super(imagCTTE);
		InitComponents();
	}
	/**
	 * Initialize componenets
	 */
	protected void InitComponents(){
		taskTreeSubView = new TaskTreeSubView(getImagCTTE());
		mapSubView = new MapSubView(getImagCTTE());
		
		this.add(taskTreeSubView.getTitle(), taskTreeSubView);
		this.add(mapSubView.getTitle(), mapSubView);
	}
	
	/**
	 * Components
	 */
	private TaskTreeSubView taskTreeSubView;
	private MapSubView mapSubView; 
}
